package com.example.demo.entity;
public class Address {
    private int id;
    private int provinceId;
    private int cityId;
    private int areaId;
    private String provinceName;
    private String cityName;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    private String areaName;
    private int main;
    private String account;

    public Address() {
    }

    public int getMain() {
        return main;
    }

    public void setMain(int main) {
        this.main = main;
    }

    public Address(int id, int provinceId, int cityId, int areaId, String provinceName, String cityName, String areaName, String fullName) {
        this.id = id;
        this.provinceId = provinceId;
        this.cityId = cityId;
        this.areaId = areaId;
        this.provinceName = provinceName;
        this.cityName = cityName;
        this.areaName = areaName;
        this.fullName = fullName;
        this.main = 0;
    }

    private String fullName;

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }

    public int getCityId() {
        return cityId;
    }
    public void setCityId(int cityId) {
        this.cityId = cityId;
    }
    public int getAreaId() {
        return areaId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public Address(int id, int provinceId, int cityId, int areaId, String fullName) {
        this.id = id;
        this.provinceId = provinceId;
        this.cityId = cityId;
        this.areaId = areaId;
        this.fullName = fullName;
    }

}
